Changed id type to ulong instead of long.