Add domain attribute support.