Changed EndpointDef to take String[] for query params; Changed EntityTypeLibrary.ROOT to reflect the specialized type.