Fix unexported logLik method.
Thanks to ECappa.