Able to get collection from database.