Fix the Kinsol skeleton code.