Add the invitation code factory.