remove obsolete setVersion code paths