Added various hooks