Update documentation. Move start and end message as initialization arguments.