Remove import of "mode" subroutine from modules no longer using it.