Remove unused m_writtenVariables from the parser and related bits