Throw exception when extension isn't loaded