Added the ability to have multiple key frames.