WIP: chore add docs and fixed.