Fixed Null init for function pointers.
Fixed generation of class global function pointer.