Adding Distribution configuration to Mongoose library.