Append serialize for user's functions