add methods model, model_attributes to unpacker