Get rid of stupid os calls.