Move common methods to a utils.py file