Block class, better registering format