Cleanup redundant exports and hanging type sigs.