Building Type Checkers Using Scope Graphs