Replaced OCaml exeption by Toy exception for unsupported commands.