Fixed Graph injection in script
Document Hook now is polymorphic against classes