Adding repository methods.