Refactoring Region to reuse a function for creating the different computed observables
Introducing CommandType