Fix PersonFactory injection