Useful boilerplate for your models (using mongoengine)