Inlined unnecessary post xml function.