Added support for pruning old components