Add HalResource::getProperties().
Add --pipe option to activities command.