Structured Plans and Observation Reduction for Plans with Contexts