Using instance variables to pass options to template