Added pre / post install hook definitions.