Fix unexported logLik method.
Thanks ECappa.