Any particular reason for doing this? This means that we can't use scala code from java.