Removing protected attributes