Updated pixel.py to add shell methods.