Zaslat SMS: Social evolution in class-structured populations