Remove unused code
Test sugar platform detection
PEP8