Typehint all closures