Preliminary support for OS gadgets