Clip all unused components out of the rest interface.