make generation explicit on server side

it is now possible to work with the generated collections on the server side too.