added attr_accessor for extensions