Started rewriting connections handling in the power module.