def METHOD_NAME(kernel):
    kernel.register("wxpane/Notes", register_panel)
    kernel.register(
        "button/project/Notes",
        {
            "label": _("Notes"),
            "icon": icons8_comments_50,
            "tip": _("Open Notes Window"),
            "action": lambda v: kernel.console("window toggle Notes\n"),
            "size": STD_ICON_SIZE,
        },
    )