Adding support for admin, collection, cursor and grid.