Common functionality in generated API moved into a class. Fixed SchemedDAO merge bug (again).