code: @SuppressWarnings("unchecked")
  	public <T> Task<T> createRootTask (String treeReference) {
  		return (Task<T>)retrieveArchetypeTree(treeReference).getChild(0).cloneTask();
  	}
docs: Creates the root task of {@link BehaviorTree} for the specified reference.
  @param treeReference the tree identifier, typically a path
  @return the root task of the tree cloned from the archetype.
  @throws SerializationException if the reference cannot be successfully parsed.
  @throws TaskCloneException if the archetype cannot be successfully parsed.