support for annotation callbacks