Change deprecated method in Lazy.java