Solve datatype label case sensitivity regression

Includes some cleanup to DataTypeRegistry and removal of an optional
argument that was never used anyway.