Removing warnings.

Tests passed: GHC 7.4.2 and GHC 7.6.3