Bad dreams can wake you up.