Adds throws docblock