Added hasPropertyTemplate to ResourceTemplateRepository.