Remove instance variables from partial