Add support for custom_exercise.