Make the AST interface a bit richer by returning whether an insertion caused