Using is_callable() instead of type hint to remain compatible with PHP
5.4