some ocamldoc for init and finalize