Document rx.flatten