added post_register_callback kwarg to the register manifest macro