Move getChangeAddress and getFreeAddress from wallet to pocket.