Fixes for the gadget dev server.