Alter interface to fetch repository methods by API instead of pure reflection.