Create a trait for the elements