Fixed throws exception typo. Updated docs. Fixed bug when adding role or permission by name.