Removed imap and operator imports