Small refactors, Lo-dash compatibility test, doc revisions.