def __new__(mcs, name, bases, dct):
    """Create Command class.

        Add command_name as __module__:__name__
        Collect parameters
        """
    cls = type.__new__(mcs, name, bases, dct)
    if mcs.__event_base__ is None:
        mcs.__event_base__ = cls
    else:
        default_type = dct.get('__type__', name.lower())
        mcs.__events__[default_type] = cls
    return cls
