Use callable typehint instead of Closure to allow functions and class methods.