Added basic hooks