Add options.resolve functionality.