Added some restrictions on Attributes.new