Change annotation to new syntax