Add support for swift types to Attribute