Added stats. Resolves #8.