The error thrown here needs to be updated to refer to aliases, it still partially refers to mapping and type.