Fix: Code attributes mutate their argument #571