Add GIF input support.