Refactor spurious ip parse and load.