Some sugary bits for mongoose (MIT)