Made a nice fallback partial function instead of the catch.