Fixed errors due to the protocol update.