Silence 'cast between pointer-to-function and pointer-to-object'