Support tuple object for caching.