Remove unnecessary attr_accessors.