Changed league/flysystem to optional requirement