no need to subclass if pattern == command.match.