Move options initialization to a separate method