Improved API for inteactive lessons.