Added missing throws docblock
Include license in dist