Restored refresh() and getRepository() methods in manager