Added block registering.