Added support for documentation, package upgrade and source distribution.