Updated class_derived snippet and renamed it to class