Allow piping of commands (needs cleanup).