Add Function for Thread

- make it not to add methods like java.lang.Thread.*