Validate arguments in install command.
Introduce installation strategies.
Add missing javadoc.