Fix for new semigroupoids versions.