Create a generic trait that applies transforms with context + graph as parameters. This allows for creations of new `dyn Transform` types that also take in a context as a parameter. Particularly useful for context-aware backends.