Added base frame source code.