some typa mongodb decorator stuff