Slight performance fix.