Between Imitation and Intention Learning