Added more documentation and tests.