mapi: Allow blocks to be disabled from the output.