Cleaning up executer command pattern generation. Should speed up executer.