Enhance the version check functionality.