Tokens - borrow some functions from keradus:structure_braces branch (PR #472)