RFC: Adding annotations to function declarations to improve static analysis