Added pre commit hooks.