Use builtin callable, which apparently is not deprecated anymore.