Fixed all code using the old-style annotations syntax without parentheses