CMS-2192 Templates API design.
Removed old style xml serializers.