Work on caching in mainly relation to typed messages (WIP)