More robust cue parsing.