Some doc changes and some love for our < php5.4 brothers and sisters.