Add `background` and `flatten` APIs