Wrap frame names and offsets in a class