Added pre unpackagingand post packaging hooks to some channel types