Adds a resend method