Added more events
Finished wrapping document events