Made val_t not contain parent, contain env instead.