Added a collection class to handle relationship collections