Added version validation.