Classes

Backport of https://github.com/doctrine/dbal/pull/3128.