Issue #2333107 by mongolito404: Allowed file formatters to know the types of referencing entities.