Removes obsolete viewcode