This is a very simple approach to achieve this great feature, but i am not sure if autoloading is the right thing to rely on for performance reasons.. 

Should such custom collection classes be defined in the schema and therefore been generated at generation time?
Also it would be cool if typehints/docs would be adjusted by the generator to bring in type safety and make IDEs aware of the collection types...

Wdyt?