Updated documentation
Better error handling