Context variables for transformation? -> prevent cycles in recursion