Revert "added attr readers for connection and adapter"

This reverts commit 4c801c3b501d47eb63f16000cd0044a0ca453787.