Made exceptions used externally unchecked.