Refine coding style

- Coding style
- EventProxy