Treat domain more aggressively as constant

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Keep domain object to make fastpath cheaper

The fallback to the domain class is still there, but in the best case it is the same domain object

Signed-off-by: Stefan Marr <git@stefan-marr.de>