Restore php 5.2.9 requirement
restore get_called_class for php older version