Make source Java 1.6 compatible.

- Fixes #6.