The clade Stegosauridae is composed of the genera "Stegosaurus", "Dacentrurus", "Miragaia", "Loricatosaurus", and "Kentrosaurus", with the last considered to be at the base of the clade. The stegosaurids like all other stegosaurians were quadrupedal herbivores that exhibited the characteristic stegosaurian dorsal dermal plates. These large, thin, erect plates are thought to be aligned parasagittally from the neck to near the end of the tail. The end of the tail has pairs of spikes, sometimes referred to as a thagomizer. Although defense, thermo-regulation and display have been theorized to be the possible functions of these dorsal plates, a study of the ontogenetic histology of the plates and spikes suggests that the plates serve different functions at different stages of the stegosaurids’ life histories. The terminal spikes in the tail are thought to have been used in old adults, at least, as a weapon for defence. However, the function of stegosaurid plates and spikes, at different life stages, still remains a matter of great debate.