Uhh... I already had "automatically declare stage instances" checked on in my publish settings. Maybe I should scrap the document class and put it all on a frame script?