Invitation feature refactored.