connectionData now has a flag for key.
Cleaned up IPF.