Use services from carma-models f-me/carma#1839
Drop id from inherited tables f-me/carma#1839
Fix warnings, improve formatting, drop useless code