Fix dead assignment
Fix getRouteByName()
Fix 'Uninitialized argument value' error
Fix resultsets
Fix "Argument with 'nonnull' attribute passed null"