Fixes NullPointerExceptions on uninitialized default platforms