Fix element import errors