Initializing an object property if assigning to it fails