Added more documentation.