Removing Cg dependency.