Fix doc block adding @throws tag
Remove unused "__sleep" method
Fix type hinting bug