Commented out undefined functions on ubuntu 12.04