Adding code for complex domination.