Support for attribute template.