Class-level @requires does not work on 5.2
Revert "Clean up version_compares"

This reverts commit 9157b516e9db74facabd3e2104788ff5de889b49.