Add electric pair mode
Fix hook names

The hook names appear to have been changed.