Support for constructorless classes