Set instance variables in before filters.