Allow fallback to be passed in as a parameter (thanks to @katbailey)