Added hook_append_extra template hook. #138