Pruned unused functions