pruning of unused calls/imports