Allow customization of target node set in expand