Use contexts for dpx_init() for flexibility.