Internal Event
Clear Document
Fix function access