Created abstraction layer in the connection allowing users to specify their own security methods