use new hook classes only for 1.3.6