With imap enabled, it does not compile