explicit exception imports, removed unused method