Reorganized declaration of service resources.