Added bean property for connector so it can be used in Spring.