Fix bug in type hint.