Remove obsolete AST node classes
Clean up obsolete code
Remove more obsolete code

Closes #449.