Added a fallback_undefined option to allow customizing the value that triggers falling back.