Allow function argument to makeClass
Added support for "makeEnum"