Refactored custom annotation class.