Make repositories extend GraphRepository