Support function pointer to static function and constructor