Remove misplaced function annotation
Merge pull request #3074 from fredj/misplaced-function-annotation

Remove misplaced function annotation.