def METHOD_NAME(self, mode):
    """Returns a Handler for the specified mode."""
    if mode == NORMAL:
        from . import normal
        return normal.NormalMode(self)
    elif mode == VISUAL:
        from . import visual
        return visual.VisualMode(self)
    elif mode == INSERT:
        from . import insert
        return insert.InsertMode(self)
    elif mode == REPLACE:
        from . import replace
        return replace.ReplaceMode(self)