Added extraction of demographics data to the shim.