Make sure Annotator._scan() always return a promise.