Simplify appendXf(obj)