Add subdef generator service