Add version check to model loader