Fixed issue where DistinctID wasn't optional even though it should have been.
Logging must now be enabled via the EnableLogging property.