Restore domain to DomainContextHandler signature.

Fixes #52