Use chain and demux directly to reduce library loads