Return nil if the extension isn't loaded, update the error message.