Implement message captor. Test that caching works.