Pruned unused function.