The present invention relates to novel ophthalmic devices comprising polymerized compounds comprising a photoactive chromophore, said polymerized compounds, and special monomer compounds being particularly suitable for compositions and ophthalmic devices. The present invention is also directed to a process of changing the optical properties of said ophthalmic device or a precursor article for an ophthalmic device.