Fix crab gateway example.
Fix unneeded imports and minor examples issues.