Make compatible with old versions.