Probing active galactic nuclei with H2O megamasers.