remove obsolete purity workarounds