Stable version 1.0.

The only changes are minor and consists of added comments in tests.