Allow callback to be specified outside of haven