Cleanup only the relevant entries.