Finished the add implementation.