rudimentary support for classes