Add API doc for laxarPaths
(#2) Refactor WidgetCollector to be tested more easily