Updated the reject method and added additional methods from underscore