See https://z-push.org/svn/z-push/trunk/src/