Classifying galaxies