Add precompiler support for domain params