More methods to complete java API