Initial version.
Fix for bug #4.