Add command to collapse empty spaces.