Codes, compilations, and legal doctrine of the viceregal government