Added typedef for element type