Prettify code
Add compiler flags for deprecated features
Fix test
Remove useless comments