Added getRepository method to DoctrineHelper