Added method to go back from java to ruby in interface and implementation.