Make input 3.x compliant.