Fixed RecursiveRenderingException not 'used' properly. Added dependency on entity_reference since it contains that exception.