Is it feasible to add type annotations to the code? I understand it is generated, so it might be more complex, but those are very useful when coding, especially for complex libraries like this one.