Added hooks, v1 finished.