Add a directive for xtk-renderer.