Added documentation to the setup code.