CategoryAttribute must render as `__toString()`
add magic translation of new hooks to old hooks