The 2006 class of inductees includes heavy metal band Black Sabbath , punk rockers the Sex Pistols , southern rock mainstays Lynyrd Skynyrd , and the late jazz legend Miles Davis .