Fix registerBlock
Preparing for 1.7