Fix-up usage of append method to use append function.