Set instance variable from options