Compatibility changes for other scripts.