def METHOD_NAME(_context, class_, meta_type, permission, addview=None,
                  icon=None, global_=True):
    _context.action(
        discriminator=('registerClass', meta_type),
        callable=_registerClass,
        args=(class_, meta_type, permission, addview, icon, global_)
    )