Class snippet