removing PHP 5.4 Callable type hints