Added a putmany() method.