Remove structures that are no longer used.