Merged previous versions.

Added comments about copyright.