deleted const_cast that was inserted at commit: 482b4832.