Added an append method.