Move common code to utils.py