After https://github.com/getcord/cord-preview/issues/2, we need to make the code resilient to optional dependencies.