Get the value from the optional result returned from the default function.

Without this, the options are directly used as the arguments for the class constructor causing failures in instantiation.