Use Option type for nullable function pointers