Basic MongoDB insertion procedure.