Fix deprecation on MailboxController