I would move this function into ```impl CompositorLayer``` and name it new.