WIP (TODO: typesafe frames)