Make PHP5.3 compatible - Sadly :(