Maintaining a mirror of the AST on the server.