Used attr_accessor to clean up instance variable storage