Remove deprecated annotations.