Start moving code over into their functions.