Added hack compatibility checks.