Removes unecessary mounts.