Fix two annotations to improve code analysis score