Fixed routing exceptions when building the entity derivative plugins.