Purge unused variables