class maps can now be referenced as instances

This should provide the feature described in issue #245