Clean up return type warnings on Connection implementations.