Get rid of bash specific code.