Made attr_accessor methods in module private