Defined as separate module and expanded example.