Add old fork-and-specialize API

Change-Id: I397095e69ae0e67b079e8734463fcc49786c0e97