Clean up type warnings on Connection implementations.