Resolved commenting-out problems in Invitation model