Added pre load, post load and post response hooks.