Moving methods in picolib.py into the PicoSpider class.