Removal of hard dependency on smola.java