Remove unused import
Type check Queue
Type check Exchange
Type check ALL THE THINGS
Fix a problem type checker's revealed
Correct more issues revealed by the type checker

Pls work around what looks like a groovyc bug/limitation.