Removes erroneous codemodel class.