Fix #253: hooks are now converted