Fixed some interface name references and implemented methods for AbilityRepository.