In addition to the optical functionalities of the substrates of the invention, in some cases, such substrates may include additional functionalities that provide a defined region on the substrate surface to limit the access that reagents or other elements have to the illumination zone above a waveguide.