Updated documentation and code docs.