Add passthrough command and refactor commands in binary format.