Adjust visibility setters

{public, protected} should be defined as private.
Fix Kernel#remove_instance_variable for 2.0