We're fine to read Entity's metadata here and pull type out of related class's referenceColumn.