make subclassing collections easier
Merge pull request #3 from tobyink/master

Make it easier to subclass the collection classes