remove un-necessary attr_accessors.