Changed to attr_accessor