Use callable() now that it is allowed again (Issue #1678)