Move DSL_METHODS to TypeFactory; remove System->Qjs dependency.