Generating factory for Pledge