Added protected_attributes to gem dependencies