#OAK-1263 initial pruning attempt. Doesn't work yet.