Fixes callable throwing RuntimeException
Merge pull request #5487 from bravo-kernel/callable-detection

Fixes callable throwing RuntimeException