Extension functions must be generated with the "internal" modifier if "@KOMMMap(to = […])" is used, or this behaviour must be configurable