WIP top-level cases for the context processing algorithm.