Fix type hint typo in some methods