Switching from addEntity to addEntities in EntityLayer.