Remove undeclared version variables