Fixing problems with PHP 5.3 BC compability when instaciate a  mapper