Structure cleanup.