backport175 implementation of XFire Annotations.