Added extension using Bayesian classifier