Add unused bindings static analysis and wrap static analysis in try catch to avoid affecting actual compilation
Add error messages to catch blocks