Add more documentation to code.