Remove dangerous attributes