First pass at replacing memories with beliefs.
Second phase of converting memories to beliefs.