Support for template styles with dashes in the name