Added totally sweet API for calling methods in Java