Added connection options to __init__.