Fixed type annotation
Updating docs