Addition of the 'mode' parameter to give the ability of expansion at the requester's choice.