Adds findOne method in model & db.