Added methods to get entities from root and verify if entities exist