Update docs and some functionality changes.