Remove unused constants.
Adapt the test suite to the removal of generate.