Replace "function" / "port" with "service"