Added UnregisterAllEvents and ClearAllPoints