Added searching & matching methods in AST