osexception() is used but never imported.