Finishing mongotype api. Playing around with other stuff, too.