Remove old commented out code.
Add sysfs support.