Refactor in EmptyRenderer