The purpose of dreaming.