Any enzyme that catalyzes the addition or removal of the elements water (hydrogen, oxygen), ammonia (nitrogen, hydrogen), or carbon dioxide (carbon, oxygen) at double bonds, as defined in physiology. Decarboxylases, for example, remove carbon dioxide from amino acids, while dehydrases eliminate water.