Compatibility fix.