A model for phylogenetic inference using structural and chemical covariates.