Adding changes to Expedient.php