Added support for constructors as instances.