Backport helper classes.
Add options for install command.