Refactor the broken shit.