Upgrade code to Apophenia 0.999