In the middle of a messy refactor.