Using ubuntu 14 mongo extension method