Add types
Add missing doc comment