Refactor add_attribute to call add_attribute_accessors, which now only takes the descriptor