Added repository methods implementation.