Update to bitrepository reference code release 0.22