Trying to remove all the set_pores type things. Not finished.