If that function could simplify the way the shore is implemented then it should be in shore.py. I don't have strong views about this. Your call guys.