Make LXComponent constructor protected and give a getLayers() method