Added a check for the callable typehint similar to array

callable is not a class either, so we can also avoid the autoloading