Loading options and responding to option changes.