Fix missing func name for global funcs (init, etc.)