Add a method in MongoCollection to find the last document