Correctly promote pointer typedefs to callbacks