[nim] Cleaning up remnants of old code