Removed some unused code

Thanks to SensioLasInsight for spotting them
Fixed the case of callable in the phpdoc

callable is a PHP type, like integer or string, not a class name. So it
should be lowercased.