Allow customizing framerate.