Move this below the `extension_loaded` check, so we save a little bit of processing if the extension isn't even available.