Closure type hinting