parser: Correctly parse most top levels in parseTopLevel.