adds primitive support for return types
renamed classModel to classModelName