Add version check functionality.