Stubs type hint fix