Added pre-commit hook.