Move AST to common