add documentation of the init hooks