Added XBee init functions.