Revert "Fix registerBlock"

This reverts commit b38852428aaca6192a6c2d632cf6e36b0e0a0338.