Added method to support customized annotation