Set hooks to append to the end