`switch` might be more appropriate and also in the same vein to the rest of the RMStore code.