def delete(key)
      key = key.to_sym
      types.delete(key)
      messages.delete(key)
    end
def delete(key)
      key = key.to_sym
      types.delete(key)
      messages.delete(key)
    end
Delete messages for +key+