Add append function declaration to header file