Not that I am aware of.

Do you mind adding some inline comment here to explain why useMemory and useDisk cannot both be true here? This change is good as long as you add more comments. Thanks!