Skill acquisition via motor imagery relies on both motor and perceptual learning.