Finalise the documentation.