Update manual and add to pre commit hook.