Allow compatability with php5.3