Changed name of args to document and made member variable