callable type checkes changed to \Closure