Utilities for working with GAE NDB