Added Binary class to mongodb.