ox: Properly transfer bound variables through export process