added docstring support for fields and methods
added type extensions