Wrap legacy code with `method_exists()` call to allow a grace period to remove.