Add basic function pointer and callback support