Removed unreachable code
Remove trailing comma.
Changed getParents to return void if item doesn't exist
Updated doc.
Fixed errors url
Updated doc.