Change some instances of Either to Try