async def METHOD_NAME(app: web.Application):
    """Register routes."""
    LOGGER.info("> registering routes")
    # we need to replace the current multitenant endpoints...
    # 1) to enforce validation on askar wallets
    has_wallet_create = False
    # 2) and to ensure that we can pass along and check the wallet key
    has_wallet_create_token = False
    for r in app.router.routes():
        if r.method == "POST":
            if r.resource and r.resource.canonical == "/multitenancy/wallet":
                LOGGER.info(
                    f"found route: {r.method} {r.resource.canonical} ({r.handler})"
                )
                LOGGER.info(f"... replacing current handler: {r.handler}")
                r._handler = plugin_wallet_create
                LOGGER.info(f"... with new handler: {r.handler}")
                has_wallet_create = True
            if (
                r.resource
                and r.resource.canonical == "/multitenancy/wallet/{wallet_id}/token"
            ):
                LOGGER.info(
                    f"found route: {r.method} {r.resource.canonical} ({r.handler})"
                )
                LOGGER.info(f"... replacing current handler: {r.handler}")
                r._handler = plugin_wallet_create_token
                LOGGER.info(f"... with new handler: {r.handler}")
                has_wallet_create_token = True
    # ok, just in case we get loaded before the builtin multitenant (should be impossible)
    # let's make sure we've added endpoints we expect
    if not has_wallet_create:
        LOGGER.info(f"adding POST /multitenancy/wallet route")
        app.add_routes(
            [
                web.post("/multitenancy/wallet", plugin_wallet_create),
            ]
        )
    if not has_wallet_create_token:
        LOGGER.info(f"adding POST /multitenancy/wallet/<wallet_id>/token route")
        app.add_routes(
            [
                web.post(
                    "/multitenancy/wallet/{wallet_id}/token", plugin_wallet_create_token
                ),
            ]
        )
    LOGGER.info("< registering routes")