Fixed datetime namespacing problem