Add rudimentary support for registering and fulfilling intents.