Finalise dosumentation.