support for enums

Enums don't have no-arg constructors and are now handled correctly