#12: Made setCollection() function compatible to core class
Add type hinting as PHPdoc
Fix calling parent method