Add createInvitation stub to ease upgrading.