Fixes problems with stubs on bash.