Tried to fix attaching docs to document class id. I almost have it just too tired to keep going.