Not in this function though - appears only to be a switch on type and on source.