Preserve frame name + slightly clearer flow for non-resources in clear().