Adding derivatives to priors