Factored out CAEAGLLayer (Retained)