Swapped out deprecated annotation.