remove unused arg_class argument