Use prototype for BSONEditor.