Added functionality for collections