Moved var_map to object_locals.