Remove superfluous 'ideal' function