Wear module.
Lots of changes.
Merge branch 'wear'