symfony specific changes for repository