Removed calls that required Java 7

Fixes #61