Add runnable example in subproject. Fix over-private method bug revealed by example.