Get rid of root object and use layers instead