Fixes "default object from empty value" warning.

Resolves:

"Warning: Creating default object from empty value"