Added initialize and attr_accessor