Add calculator example.
Enhance domainGenerator for enumerations.