Added support for "match A in B", input, and clear commands.