"They are not code compliant. And just a leak waiting to happen." ...
When water heater work needs to be inspected, it is smart to have a licensed plumber or local inspector do a code review ...