Forgot comment on getRootEntityName function