add protected_instance_variables for rails 4.1 compatibility