Added add_to, along with doctest.