Adding patches for assert require.