Renamed captured to register, delete register item after output.
Updated README example