Added framerate support.