frame: Speed optimization.