Changed name of exceptions and updated the docs.