Implemented subset for collections.
Implemented reduce for collections.
Implemented flush for collections.
Implemented filter for collections.