Added a class for a pixel.