Added documentation and copyright.