Process regions

This adds regions to our processing model implementation.

Partial fix for #102.
Fix for #101.