Final documentation and code changes