Fix doc & tests according to last lib changes