Fixed breakage in 1.2. Fixes #6.