WMCache utility functions.