Introduce domain configuration through parameter