Removes empty controllers