added default connection and prepared fields

Where necessary in response to deprecation warnings