Added statistics features.