Mandatory requirements designed to detect fire-causing conditions, stop electric shocks and keep children from sticking foreign objects into electrical outlets would be cut from the safety code.