Adds missing domains for variables