Removed some dependencies in JDK8 project to the Transformer interface