Add exclude to avoid deprecation warnings