Changed block class to allow sending its data via network.