Added fetchExerciseRecord function to routine functions.