Made generated classes implement toString, equals, hashCode and fluent API