[HelloCode] Modify to support the frame's class.