Allow specifying attribute types as class attributes (Issue #97)