inject methods for repositories replaced by @inject annotation