Fixed Petition factory.