Generate function pointer refs if we haven't been told not to.