In earlier space toilets, including the Shuttle, wastewater was vented into space. A robotic arm had to remove a buildup of frozen excrement outside the orbiter during Discovery's first flight.