Updated to version 0.4.

New public addresses and decay functionality upgrade to 0.4.