Shared code between CapeDwarf' AS integration layer and Blue GAE API implementation.