Make Distortions classes 2.4-compatible