Removing an Component map when empty.