Fixed bug with function pointer load serialized as int.