Updated entire code base for CDH 4.3. Modified deprecated functions.