[WFCORE-20] Clean up use of ExtensionRegistry in the transformer classes