Attributes no longer need an anonymous class
Without inner classes for attributes and relations