Fix #110 (incorrect behaviour for spec annotating).
Merge pull request #1 from roman-zaharenkov/fix_spec_annotate

Fix incorrect behaviour for spec annotating.