compiler: rename the class `Frame` to `StaticFrame` to avoid conflict