Apply idOfModel and idOfView to the prototypes of ViewCollection and ViewCollectionGroup