First attempt at handling frame index elimination.