Updated docs with literate code.