Downgrading dependencies to avoid PHP 5.4 dependency