janus_initialize_template ==> janus_allocate. Introduced janus_free