Turned connection factory virtual as requested by Gonzalo.