return type hint for endUse()