Parsing multi-level code now works. Fixes #1