I am currently using Distributions.jl with mixture distributions (example: mixture of Gaussians) via MixtureModel. I have noticed that the compiler seems unable to perform type inference for basic functions such as mean and logpdf even when the MixtureModel struct is fully instantiated. Checking the source code these functions are implemented on the UnivariateMixture. I am currently specialising the functions I need for the specialised types I am working with but I was wondering if there isn't a better way of doing that....