Add more string helpers
Fix and update some AST utilities