Few changes for use with ppcwallet