Removes unused domains