Adds support for constructors in the classes.