Added throw_unrecognized_command_type_error