Removed setRepository() from ModelFacade