Added support for PHP callables