minor: use methods to set and mutate options to reduce repetition