Improve shim to support export annotations.
Add API for public transit routing.
Fix compile with advanced optimizations.