Naive way to resolve references in computed schema