implement prune, partial callback, fix test failures, roundtrip styles more