Do not try to add passive code element.

Also removed check for latest code element version.