Simplify getter/setter methods with attr_accessor variables