Because the system must address different depths in the medium, and at different depths the spherical aberration induced in the wavefront is different, a method is required to dynamically account for these differences. Many possible methods exist that include optical elements that swap in and out of the optical path, moving elements, adaptive optics, and immersion lenses.