First draft of the domain (with tests).