Change of API: imap -> itmap to reduce name conflicts.