Simplify connector init function