Put cursor code in anon namespace.