Shims and compatibility checks.