Refactoring `FrameBuffer` and `Program`.