Removing the unnecessary containers.