Move helper methods to library.py