Add methods to libsaturn.cpp