The problem is, how would you override preFixup to run your code if preFixup is a function? Some ugly trick like this would be needed: http://mivok.net/2009/09/20/bashfunctionoverrist.html