Update docs and code style fix