can't we return `MessagingSettings` here?