Context module: group common creation code (i.e. DRY)