Generating factory for pledge.