Added getHeight() for v2 blocks.