DSL: avoid crash if there's no annotations

Fixes #60