Updated documentation.
Separate exceptions.