Added hook to patch bootstrap.

This will very hopefully be utterly temporary.