Can provide annotation reader by passing a function that retrieves it