Changed avembed and inlineav to accept a 'type' argument for exercises