def METHOD_NAME(cls):
    KeywordAssociation, Item, Keyword = (
        cls.classes.KeywordAssociation,
        cls.classes.Item,
        cls.classes.Keyword,
    )
    items, item_keywords, keywords = cls.tables.get_all(
        "items", "item_keywords", "keywords"
    )
    cls.mapper_registry.map_imperatively(Keyword, keywords)
    cls.mapper_registry.map_imperatively(
        KeywordAssociation,
        item_keywords,
        properties={"keyword": relationship(Keyword, lazy="joined")},
        primary_key=[item_keywords.c.item_id, item_keywords.c.keyword_id],
    )
    cls.mapper_registry.map_imperatively(
        Item,
        items,
        properties={
            "keywords": relationship(
                KeywordAssociation,
                order_by=item_keywords.c.data,
                cascade="all, delete-orphan",
            )
        },
    )