Implemented DomainToApi conversion template. Improved existing templates.