Method for adding new type attribute