Fix method hydrate in repository