More work on VMap wrapper.
Make some Detour methods static since they access only static variables.