Remove unnecessary method annotation.