Rename options to option
Resolve references in param options