Add begin and end tokens to selector patterns to get symbol list working again.