Fix add_coprocessor