Add ability to set options from arrays