Remove a check that triggers deprecation warnings