Adding class creation snippet