Updated Start and EndBlockRecord classes to use a new ObjectKind enum