Getting rid of the PHP 5.4 features.
Added custom configuration stuff.