Fix for dmd 2.065 deprecation warnings.