Supporting custom annotation readers