Added support for ATV2 and ATV3.