Adding java intrumentation support