Added exception wrappers.