I agree with @ericbottard . This method should be in one of the repositories.