Added general package hooks