Changed how the default options are retrieved.