Cleanup forecast code.