``extends Reference`` is wrong, it has to be ``extends Annotation``. Same for all the other new annotation classes.