Issue #1772204 by tim.plunkett, mkadin, redndahead, james.williams: EntityMalformedExceptions with custom entity modules.