Add getType() back to Block for ease of use