Using a staticmethod was the right thing to do.